/**
 * Created by Xiaoming on 2017/9/21.
 */
angular.module('service.sharesum',[
        'ngResource'
    ])
    .service('ShareSumService', ['$http','$resource',function($http,$resource){
        this.getShareSum = function(userid,shopid){
            var resource = $resource(shareUrl+"share_Sum/gettotal/:userId/:shopId");
            return resource.get({userId:userid,shopId:shopid});
        }
    }])